import { api } from '@/scripts/api'
import throttle from '@/scripts/throttle'
const install = (Vue) => {
  const plugins = {
    $api: api,
    $throttle: throttle
  }
  Object.assign(Vue.prototype, plugins)
}

export default { install }
